<?php

class session
{
    function init()
    {
        if (isset($_REQUEST[session_name()]))
        {
            session_start();
  /*
           if (isset($_SESSION[SESSION_USERNAME]))
            {
                user::loggedin(true);
            }
   */
        }
    }
	
    function create()
    {
        session_start();
    }

    function destroy()
    {
        session_destroy();
    }
}
?>
